package com.cc.bsp.domain;

import java.util.List;

import com.cc.bsp.domain.exception.DomainException;
import com.cc.bsp.persistence.dao.IQueryPageOrder;
import com.cc.bsp.persistence.entity.IEntity;

public interface Domain extends IEntity {
	
	public java.io.Serializable getId();
	
	public void create() throws DomainException;

	public void update() throws DomainException;

	public void delete() throws DomainException;

	public Domain findById() throws DomainException;

	public Domain findOne() throws DomainException;

	public List<Domain> findList() throws DomainException;

	public List<Domain> findAll() throws DomainException;

	public List<Domain> findList(IQueryPageOrder pageOrder) throws DomainException;

	public List<Domain> findAll(IQueryPageOrder pageOrder) throws DomainException;

}
